<?php

namespace app\index\validate;

use think\Validate;

class NoticeValidate extends Validate
{
    protected $rule =   [
        'title'  => 'require',
        'content'   => 'require',
    ];

    protected $message  =   [
        'title.require' => '主题不能为空',
        'content.require'     => '内容不能为空',
    ];
}
